<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Network BFS: Fichero Fuente network.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generado por Doxygen 1.6.1 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Buscar');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Página&nbsp;principal</span></a></li>
      <li><a href="annotated.html"><span>Clases</span></a></li>
      <li class="current"><a href="files.html"><span>Archivos</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <img id="MSearchSelect" src="search/search.png"
             onmouseover="return searchBox.OnSearchSelectShow()"
             onmouseout="return searchBox.OnSearchSelectHide()"
             alt=""/>
        <input type="text" id="MSearchField" value="Buscar" accesskey="S"
             onfocus="searchBox.OnSearchFieldFocus(true)" 
             onblur="searchBox.OnSearchFieldFocus(false)" 
             onkeyup="searchBox.OnSearchFieldChange(event)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>Lista&nbsp;de&nbsp;archivos</span></a></li>
      <li><a href="globals.html"><span>Miembros&nbsp;de&nbsp;los&nbsp;ficheros</span></a></li>
    </ul>
  </div>
<h1>network.h</h1><a href="network_8h.html">Ir a la documentación de este archivo.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00005"></a>00005 <span class="preprocessor">#ifndef NETWORK_H</span>
<a name="l00006"></a>00006 <span class="preprocessor"></span><span class="preprocessor">#define NETWORK_H</span>
<a name="l00007"></a>00007 <span class="preprocessor"></span>
<a name="l00008"></a>00008 <span class="preprocessor">#include &lt;stdbool.h&gt;</span>
<a name="l00009"></a>00009 <span class="preprocessor">#include &quot;glib/glist.h&quot;</span>
<a name="l00010"></a>00010 <span class="preprocessor">#include &quot;<a class="code" href="node_8h.html">node.h</a>&quot;</span>
<a name="l00011"></a>00011 
<a name="l00012"></a>00012 <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structs_network.html">sNetwork</a> *<a class="code" href="structs_network.html">network</a>;
<a name="l00013"></a>00013 
<a name="l00018"></a>00018 network network_create(<span class="keywordtype">void</span>);
<a name="l00019"></a>00019 
<a name="l00025"></a>00025 network network_destroy(network net);
<a name="l00026"></a>00026 
<a name="l00034"></a>00034 <span class="keywordtype">void</span> network_addEdge(network net, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> label1,
<a name="l00035"></a>00035                      <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> label2, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> cap);
<a name="l00036"></a>00036 
<a name="l00043"></a>00043 <span class="keywordtype">void</span> network_addNode(network net, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> label);
<a name="l00044"></a>00044 
<a name="l00050"></a>00050 <a class="code" href="structs_node.html">node</a> network_getNode(network net, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> label);
<a name="l00051"></a>00051 
<a name="l00058"></a>00058 GList *network_getNeighbors(<span class="keyword">const</span> network net, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> label);
<a name="l00059"></a>00059 
<a name="l00068"></a>00068 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> network_edgeCap(<span class="keyword">const</span> network net, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> label_a,
<a name="l00069"></a>00069                              <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> label_b);
<a name="l00070"></a>00070 
<a name="l00077"></a>00077 <span class="keywordtype">bool</span> network_nodeExists(<span class="keyword">const</span> network net, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> label);
<a name="l00078"></a>00078 
<a name="l00086"></a>00086 <span class="keywordtype">bool</span> network_edgeExists(<span class="keyword">const</span> network net, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> label_a,
<a name="l00087"></a>00087                         <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> label_b);
<a name="l00088"></a>00088 
<a name="l00089"></a>00089 <span class="preprocessor">#endif</span>
</pre></div></div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>Todo</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Clases</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Archivos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Funciones</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr size="1"/><address style="text-align: right;"><small>Generado el Wed Apr 13 17:47:44 2011 para Network BFS por&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>
